package cn.lynch.bbs.domain;

import java.util.HashSet;
import java.util.Set;

public class Role {

	private String id;
	
	private String name;
	
	private Set<Authority> authorities = new HashSet<Authority>(0);

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<Authority> getAuthorities() {
		return authorities;
	}

	public void setAuthorities(Set<Authority> authorities) {
		this.authorities = authorities;
	}
	
	
}
